This is a standalone script written in Python 3 for GTFOBins. You can search for Unix binaries that can be exploited to bypass system security restrictions. These binaries can be abused to get the f**k break out of restricted shells, escalate privileges, transfer files, spawn bind and reverse shells, etc…
The functions are from https://github.com/GTFOBins/GTFOBins.github.io and all credit goes to its respective contributors. They are simplified (no need for environmental variables) and syntax highlighted.
Download
git clone https://github.com/t0thkr1s/gtfo
Install
The script has 2 dependencies:
You can install these by typing:
python3 setup.py install
Run
python3 gtfo.py [binary]